﻿namespace SimpleWorkflow.Data
{
    public class Reference<T> : SimpleReference
    {
        public Reference()
        {
        }

        public Reference(string name)
            : base(name)
        {

        }

        public Reference(IReference reference)
            : base(reference)
        {

        }

        public T Value
        {
            get { return WorkflowContext.GetValue(this); }
            set { WorkflowContext.SetValue(this, value); }
        }

    }
}
